{% extends "basic/base.html" %}

{% block title %} The Mcgayver Recipie List {% endblock %}

{% block content %}
{% if recipies %}
    <p>Found {{ recipies|length }} recipie{{ recipies|pluralize }}.</p>
    <ul>
        {% for recipie in recipies %}
        <li><a href="{{recipie.id}}/"> {{ recipie.name }} </a></li>
        {% endfor %}
    </ul>
{% else %}
    <p>No recipies yet!</p>
{% endif %}

{% endblock %}
